package com.rrz.higo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.rrz","com.vito"})
@MapperScan({"com.vito.**.mapper"})
@MapperScan({"com.rrz.**.mapper"})
@EnableTransactionManagement
@EnableScheduling
@EnableAsync
public class HigoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(HigoServerApplication.class, args);
    }

}
